package com.augrain.microframework.web.base;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author biaoy
 * @since 2020/11/25
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ApiResult {
    /**
     * 访问api
     */
    private String api;

    /**
     * 返回code
     */
    private Integer code;

    /**
     * 错误信息
     */
    private String msg;

    /**
     * 返回数据
     */
    private Object data;

    /**
     * 本身请求内部追踪id
     */
    private String sid;

    /**
     * 时间戳
     */
    private Long timestamp;

}
